package o;

import android.content.Context;
import com.huawei.appgallery.foundation.ui.framework.cardframe.bean.BaseCardBean;
import com.huawei.appgallery.foundation.ui.framework.cardkit.bean.CardBean;
import java.util.Iterator;
import java.util.List;

public class brv extends chl {
    public brv(Context context) {
        super(context);
    }

    public boolean ॱ(String str) {
        if (this.ॱॱ == null || this.ॱॱ.size() == 0 || dof.ॱ(str)) {
            return false;
        }
        for (chz ˏ : this.ॱॱ) {
            List ˏ2 = ˏ.ˏ();
            if (!(ˏ2 == null || ˏ2.size() == 0)) {
                Iterator it = ˏ2.iterator();
                while (it.hasNext()) {
                    CardBean cardBean = (CardBean) it.next();
                    if ((cardBean instanceof BaseCardBean) && str.equals(((BaseCardBean) cardBean).ˋ())) {
                        bqx.ˊ("JGWCardProvider", "find delete card");
                        it.remove();
                        ˎ((BaseCardBean) cardBean);
                        return true;
                    }
                }
                continue;
            }
        }
        bqx.ˊ("JGWCardProvider", "find no delete card");
        return false;
    }

    protected void ˎ(BaseCardBean baseCardBean) {
    }
}
